﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace word.others
{
    public partial class color : Form
    {
        public color()
        {
            InitializeComponent();
        }
        public void changeColor()
        {
            label1.BackColor = Color.FromArgb(one.Value,two.Value,three.Value);
        }

        private void color_Scroll(object sender, ScrollEventArgs e)
        {
            changeColor();
        }
    }
}
